package com.cjst.pojo.part;


import com.cjst.core.FieldName;
import com.cjst.core.TableName;
import com.cjst.modle.base.PoModel;

/**
 * 部件类型关联
 * @author yj
 *
 */
@TableName(name="t_ptype_relevance")
public class PtypeRelevance extends PoModel{

	private static final long serialVersionUID = 1L;

	@FieldName(name="part_id")
    private String partId;			//部件id

	@FieldName(name="type_id")
    private String typeId;				//类型id

	@FieldName(name="created_by")
    private String createdBy;				//创建人

	@FieldName(name="create_time")
    private String createTime;				//创建时间

	@FieldName(name="fback")
    private String fback;					//备用字段

	@FieldName(name="del_flag")
    private Integer delFlag;				//是否删除，0否，1是   查询时候需要where.method("delFlag",c.eq,0)  查询未被删除的

    public String getPartId() {
        return partId;
    }

    public void setPartId(String partId) {
        this.partId = partId == null ? null : partId.trim();
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId == null ? null : typeId.trim();
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy == null ? null : createdBy.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getFback() {
        return fback;
    }

    public void setFback(String fback) {
        this.fback = fback == null ? null : fback.trim();
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}